@echo off
rem find . \( -iname "*\.c*" -o -iname "*\.h" \) | grep -e '\$("\([^"]*\)")'
rem grep -r -h -e '\$("\([^"]*\)")' */*.c* */*.h | sed -n -e 's/\\(.*\)$(\"\([^\"]*\)\")\(.*\)/=\"\2\"/p'
grep -r -h -e '\$("\([^""]*\)")' */*.c* */*.h | sed -n -e 's/\\(.*\)$(\"\([^\"]*\)\")\(.*\)/=\"\2\"/p'
